<?php
	class Task
	{
		//public $task_id;
		//public $project_id;
		public $task_name;
		//public $task_description;
		public $tree_path;
		public $tree_depth;
		//public $progress;
		//public $is_leaf;
		function __construct($_task_name, $_tree_path)
		{
			$this->task_name = $_task_name;
			$this->tree_path = $_tree_path;
			$this->tree_depth = substr_count($_tree_path, '.')-1;
		}
	}
?>